package com.ztx.service.user;

import java.util.List;

import com.ztx.pagemodel.easyui.Tree;

public interface IRoleService {

	/**
	 * 根据角色id 查询该角色的资源
	 * 
	 * @param rowId
	 * @return
	 */
	public List<Tree> queryResourceByRoleId(String roleId) throws Exception;

	/**
	 * 保存角色资源关联表
	 * 
	 * @param roleId
	 * @param resIds
	 * @throws Exception
	 */
	public void addResourceRole(String roleId, String[] resIds)
			throws Exception;

}
